import request from '@/utils/request'

export function getGeneralList(data) {
  return request({
    url: 'system/instructionsList',
    method: 'post',
    data:data
  })
}

export function addGeneral(data) {
  return request({
    url: 'system/instructionsAdd',
    method: 'post',
    data:data
  })
}

export function updateGeneral(data) {
  return request({
    url: 'system/instructionsUpdate',
    method: 'post',
    data:data
  })
}


export function deleteGeneral(id) {
  return request({
    url: 'system/instructionsDel/'+id,
    method: 'post',
  })
}


